﻿package Message.Game
{
    import Engine.RMI.*;
    import Framework.Serialize.*;
    import Message.Public.*;

    public class IFriendPrxHelper extends RMIProxyObject implements IFriendPrx
    {
        public static const NAME:String = "Message.Game.IFriend";

        public function IFriendPrxHelper()
        {
            name = "IFriend";
            return;
        }// end function

        public function addToBlackList_async(param1:AMI_IFriend_addToBlackList, param2:int) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("addToBlackList");
            var _loc_5:* = new SerializeStream();
            _loc_5.writeInt(param2);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function apply_async(param1:AMI_IFriend_apply, param2:Array) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("apply");
            var _loc_5:* = new SerializeStream();
            SeqStringHelper.write(_loc_5, param2);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function changeFriendType_async(param1:AMI_IFriend_changeFriendType, param2:Number, param3:int, param4:int) : void
        {
            var _loc_5:* = makeContext(session);
            var _loc_6:* = makeCall("changeFriendType");
            var _loc_7:* = new SerializeStream();
            _loc_7.writeLong(param2);
            _loc_7.writeInt(param3);
            _loc_7.writeInt(param4);
            Outgoing.invokeAsync(_loc_5, _loc_6, _loc_7, param1);
            return;
        }// end function

        public function changeRemark_async(param1:AMI_IFriend_changeRemark, param2:Number, param3:int, param4:String) : void
        {
            var _loc_5:* = makeContext(session);
            var _loc_6:* = makeCall("changeRemark");
            var _loc_7:* = new SerializeStream();
            _loc_7.writeLong(param2);
            _loc_7.writeInt(param3);
            _loc_7.writeString(param4);
            Outgoing.invokeAsync(_loc_5, _loc_6, _loc_7, param1);
            return;
        }// end function

        public function congratulate_async(param1:AMI_IFriend_congratulate, param2:Array) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("congratulate");
            var _loc_5:* = new SerializeStream();
            SeqIntHelper.write(_loc_5, param2);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function getCongratulateRewards_async(param1:AMI_IFriend_getCongratulateRewards) : void
        {
            var _loc_2:* = makeContext(session);
            var _loc_3:* = makeCall("getCongratulateRewards");
            var _loc_4:* = new SerializeStream();
            Outgoing.invokeAsync(_loc_2, _loc_3, _loc_4, param1);
            return;
        }// end function

        public function getFriendList_async(param1:AMI_IFriend_getFriendList, param2:int) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("getFriendList");
            var _loc_5:* = new SerializeStream();
            _loc_5.writeInt(param2);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function getOneKeyMakeFriendsInfo_async(param1:AMI_IFriend_getOneKeyMakeFriendsInfo) : void
        {
            var _loc_2:* = makeContext(session);
            var _loc_3:* = makeCall("getOneKeyMakeFriendsInfo");
            var _loc_4:* = new SerializeStream();
            Outgoing.invokeAsync(_loc_2, _loc_3, _loc_4, param1);
            return;
        }// end function

        public function kissBack_async(param1:AMI_IFriend_kissBack, param2:String) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("kissBack");
            var _loc_5:* = new SerializeStream();
            _loc_5.writeString(param2);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function moveIntoList_async(param1:AMI_IFriend_moveIntoList, param2:Number, param3:int, param4:int) : void
        {
            var _loc_5:* = makeContext(session);
            var _loc_6:* = makeCall("moveIntoList");
            var _loc_7:* = new SerializeStream();
            _loc_7.writeLong(param2);
            _loc_7.writeInt(param3);
            _loc_7.writeInt(param4);
            Outgoing.invokeAsync(_loc_5, _loc_6, _loc_7, param1);
            return;
        }// end function

        public function oneKeyMakeFriends_async(param1:AMI_IFriend_oneKeyMakeFriends, param2:Array) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("oneKeyMakeFriends");
            var _loc_5:* = new SerializeStream();
            SeqIntHelper.write(_loc_5, param2);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function removeAll_async(param1:AMI_IFriend_removeAll, param2:Array, param3:int) : void
        {
            var _loc_4:* = makeContext(session);
            var _loc_5:* = makeCall("removeAll");
            var _loc_6:* = new SerializeStream();
            SeqLongHelper.write(_loc_6, param2);
            _loc_6.writeInt(param3);
            Outgoing.invokeAsync(_loc_4, _loc_5, _loc_6, param1);
            return;
        }// end function

        public function reply_async(param1:AMI_IFriend_reply, param2:Array, param3:int, param4:int) : void
        {
            var _loc_5:* = makeContext(session);
            var _loc_6:* = makeCall("reply");
            var _loc_7:* = new SerializeStream();
            SeqIntHelper.write(_loc_7, param2);
            _loc_7.writeInt(param3);
            _loc_7.writeInt(param4);
            Outgoing.invokeAsync(_loc_5, _loc_6, _loc_7, param1);
            return;
        }// end function

        public function sendFlowers_async(param1:AMI_IFriend_sendFlowers, param2:String, param3:int, param4:Boolean, param5:Boolean) : void
        {
            var _loc_6:* = makeContext(session);
            var _loc_7:* = makeCall("sendFlowers");
            var _loc_8:* = new SerializeStream();
            _loc_8.writeString(param2);
            _loc_8.writeInt(param3);
            _loc_8.writeBool(param4);
            _loc_8.writeBool(param5);
            Outgoing.invokeAsync(_loc_6, _loc_7, _loc_8, param1);
            return;
        }// end function

    }
}
